<h3>Please select your course from the available list:</h3>
<?php $this->dojo()->enable();?>
<?php 
$this->accordionContainer()->captureStart(
 'courses',
  array('duration' => 200),
  array('style' => 'width: 400px; height: 400px; color:red')
  );
  foreach ($this->paginator as $course) {
  	$edit =   $this->url(array('module'=>'admin', 'controller'=> 'courses', 'action'=>'edit', 'id' =>$course['id']));
  	$delete =  $this->url(array('module'=>'admin', 'controller'=> 'courses', 'action'=>'delete','id' =>$course['id']));
  	
  	
  	$Content = "<br><a href = $edit>Edit this Course</a>"
  			   ." <br><a href = $delete>Delete this Course</a>";
  			   
  			   
  	
  	
  echo $this->accordionPane(
  'courses' .$course['id'],
  	$Content,
   array ('title' => $course['course_no'] . " -- " .$course['name']),
  array ("style" => 'background-color: white;'),
  array ('design' => 'news;')
  );
  }
  echo $this->accordionContainer()->captureEnd('courses');
  
  ?>

<?php echo $this->paginationControl($this->paginatior, 'Sliding', 'pagination.phtml' ); ?>
